package com.ds.lens.data.common.client.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description:
 *
 * @author WeiShaoying
 * @date 2020-04-14
 */

@Data
public class LensExternalEventInVO implements Serializable {
    private static final long serialVersionUID = 7198012920697574912L;

    /**
     * 监控ID
     */
    @NotNull(message = "monitorId can not be null.")
    private Long monitorId;

    /**
     * 监控版本
     */
    @NotNull(message = "version can not be null.")
    private Integer version;

    /**
     * 外部事件类型
     */
    @NotEmpty(message = "externalEventType can not be empty.")
    private String externalEventType;

    /**
     * 事件时间
     */
    private Long startTime;

    /**
     * 完成时间
     */
    private Long endTime;

}
